@echo off
echo        ============= MultiBot Official Compiler =============
echo        ================ The Multilanguage Bot ===============
Call Resources\FindJDK.bat
echo Now Compiling....
javac -d . -cp ./lib/Theme.jar;./lib/commons-lang-2.6.jar -d ./ ./src/org/Multibot/*java ./src/org/Multibot/Gui/*java ./src/org/Multibot/Client/*java ./src/org/Multibot/Bot/*java ./src/org/Multibot/loader/asm/*java  ./src/org/Multibot/loader/script/*java  ./src/org/Multibot/loader/script/adapter/*java  ./src/org/Multibot/util/io/*java  ./src/org/Multibot/Client/input/*java  ./src/org/Multibot/event/*java ./src/org/Multibot/event/events/*java ./src/org/Multibot/event/listeners/*java 
echo Now Making Jar File....
jar cmf mainClass Multibot.jar ./org ./resources
echo        ============ Attempting to run the client ============
java -jar Multibot.jar -v
pause